<%--
  Created by IntelliJ IDEA.
  User: fzy-2
  Date: 2021/4/16
  Time: 20:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% String path = request.getContextPath(); %>
<html>
<head>
    <meta charset="utf-8">
    <title>上机考试系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- le styles -->
    <link href="<%=path%>/css/bootstrap.css" rel="stylesheet">
    <link href="<%=path%>/css/bootstrap-datetimepicker.css" rel="stylesheet">
    <link href="<%=path%>/css/exam.css" rel="stylesheet">
    <style>
        body {
            padding-top: 60px;
            /* 60px to make the container go all the way to the bottom of the topbar */
        }
    </style>
    <link href="<%=path%>/css/bootstrap-responsive.css" rel="stylesheet">

    <!-- le html5 shim, for ie6-8 support of html5 elements -->
    <!--[if lt ie 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
</head>

<body>

<%@ include file="/WEB-INF/pages/Teacher/teacher_header.jsp"%>

<div class="container">
    <h1>
        <img src="<%=path%>/img/exam-teacher.png"  alt=""/> 上机考试管理
    </h1>


    <p class="exam-info">完成学生名单的导入和修改后，
        <a class="btn" href=""><i class="icon-edit"></i>返回编辑</a>
    </p>

    <form class="exam-form form-inline" action="${pageContext.request.contextPath}/teacher_add_student"
          method="post">
        <h4>添加单个学生</h4>
        <label>
            <input type="text" name="sno" placeholder="学号*" size="20" />
        </label>
        <label>
            <input type="text" name="sname" placeholder="姓名*" size="20" />
        </label>
        <label>
            <input type="text" name="sclass" placeholder="班级" size="20" />
        </label>
        <input type="hidden" name="eid" value="1" />
        <input type="submit" class="btn btn-primary" value="添加" />
    </form>

    <div class="container-fluid">
        <div class="row-fluid">
            <div class="span6">
                <form class="form-inline" action="teacher_student.jsp" method="post">
                    分页大小 <label>
                    <input type="text" name="pageSize"
                                value="30"
                                class="input-small" />
                </label> <input type="submit" class="btn" value="设置" />
                </form>
            </div>
            <div class="pull-right">
                <form class="form-inline" action="teacher_student.jsp" method="get">
                    <a title="第一页"

                       href="teacher_student.jsp?eid=1&pageNo=1" class="btn">
                    <i class="icon-fast-backward"></i>
                    </a>
                    <a title="前一页"

                       href="teacher_student.jsp?eid=1&pageNo=-1" class="btn">
                    <i class="icon-step-backward"></i>
                    </a>
                    <input type="hidden" name="eid" value="1" />
                    <label>
                        <input type="text" name="pageNo"
                               placeholder="0/0"
                               class="input-small" />
                    </label>
                    <button type="submit" title="前往" class="btn">
                        <i class="icon-play"></i>
                    </button>
                    <a title="后一页"
                       href="javascript: void(0)" class="btn disabled">
                    <i class="icon-step-forward"></i>
                    </a>
                    <a title="最后一页"
                       href="javascript: void(0)" class="btn disabled">
                    <i class="icon-fast-forward"></i>
                    </a>
                </form>
            </div>
        </div>
        <div class="row-fluid">
            <table class="table table-striped table-bordered">
                <thead>
                <tr>
                    <th class="span4">学号</th>
                    <th class="span4">姓名</th>
                    <th class="span3">班级</th>
                    <th>&nbsp;</th>
                </tr>
                </thead>
                <tbody>

                </tbody>
            </table>
        </div>
        <div class="row-fluid">
            <div class="pull-right">
                <form class="form-inline" action="teacher_student.jsp" method="get">
                    <a title="第一页"

                       href="teacher_student.jsp?eid=1&pageNo=1" class="btn">
                    <i class="icon-fast-backward"></i>
                    </a>
                    <a title="前一页"

                       href="teacher_student.jsp?eid=1&pageNo=-1" class="btn">
                    <i class="icon-step-backward"></i>
                    </a>
                    <input type="hidden" name="eid" value="1" />
                    <input type="text" name="pageNo"
                           placeholder="0/0"
                           class="input-small" />
                    <button type="submit" title="前往" class="btn">
                        <i class="icon-play"></i>
                    </button>
                    <a title="后一页"
                       href="javascript: void(0)" class="btn disabled">
                    <i class="icon-step-forward"></i>
                    </a>
                    <a title="最后一页"
                       href="javascript: void(0)" class="btn disabled">
                    <i class="icon-fast-forward"></i>
                    </a>
                </form>
            </div>
        </div>
    </div>
    <form class="exam-form form-inline" action=""
          enctype="multipart/form-data" method="post">
        <h4>批量导入学生名单</h4>
        <input type="hidden" name="eid" value="1" />
        <input type="file" name="students" /> <input type="submit"
                                                     class="btn btn-primary" value="导入" />
    </form>

</div>
<!-- /container -->
<!-- placed at the end of the document so the pages load faster -->
<script src="<%=path%>/js/jquery.min.js"></script>
<script src="<%=path%>/js/bootstrap.min.js"></script>
<script src="<%=path%>/js/bootstrap-datetimepicker.js"></script>
<script src="<%=path%>/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
</body>
</html>
